<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
						http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
						http://www.springframework.org/schema/context
						http://www.springframework.org/schema/context/spring-context-4.1.xsd">
    <description>Spring基础配置</description>

    <!-- 加载配置参数 可用@Value(EL表达式)进行赋值 -->
    <context:property-placeholder location="classpath:properties/*.properties" file-encoding="UTF-8"/>
    <!-- spring工具类 方便在非spring管理环境中获取bean -->
    <bean id="ContextUtil" class="com.smart.base.utils.ContextUtil" />
    <!-- 配置要扫描的包 -->
    <context:component-scan base-package="com.smart.server"/>
    <!-- 采用注释的方式配置bean -->
    <context:annotation-config/>
    
</beans>